package com.jaeger.statusbarutil;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;
import android.widget.RelativeLayout;

import com.jaeger.library.StatusBarUtil;
import com.jaeger.statusbardemo.R;

public class SelfActivity extends AppCompatActivity {
    private ImageView imageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_self);
        imageView = (ImageView) findViewById(R.id.imgView);
        RelativeLayout relativeLayout= (RelativeLayout) findViewById(R.id.activity_self);
        //StatusBarUtil.setTransparent(this);
       // StatusBarUtil.setTransparentForImageView(this,relativeLayout);
        StatusBarUtil.setTranslucentForImageView(this, imageView);
    }
}
